package com.ruoyi.web.controller.system;


import com.ruoyi.system.service.ITaosService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RequestMapping("/taosData")
@RestController
public class TaosController {

    @Autowired
    private ITaosService taosService;

    @GetMapping("/count")
    public int count() {
        return taosService.count();
    }
}
